﻿@model AutoPartsSearch.Web.ViewModels.SearchQuery.SearchQueryView
@using AutoPartsSearch.Web.HtmlHelpers
@{
    ViewBag.Title = "List";
}
<h1>
    List</h1>
    
    @Html.Partial("PartialList", Model.Items)

<div class="pager">
    @Html.PageLinks(Model.PagingInfo, x => Url.Action("List", new { page = x, pageSize = Model.PagingInfo.ItemsPerPage }))
</div>
<p>
    @Html.ActionLink("Create", "Query")
</p>
